package com.szt.sy.mapper.system;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.szt.sy.entity.system.Menu;

/***
 * 菜单-mapper
 * 
 * @author wwy
 *
 */
public interface MenuMapper extends BaseMapper<Menu> {
	
	/***
	 * 找到最大的id
	 * 
	 * @return
	 */
	public String findMaxId();
	
	/***
	 * 通过roleid和pid获取菜单
	 * 
	 * @param roleId
	 * @param pid
	 * @return
	 */
	public List<Menu> getMenuByRoleIdAndPid(String roleId, Long pid);
	
}
